#!/bin/bash

# search for any Serial Port Profile devices
sdptool search 0x1101

# search for all service records supported by given btaddr
sdptool records 00:01:95:08:4D:EC

# conenct to the given btaddr on RFCOMM
# this will create a /dev/rfcomm0 virtual serial device
# you can use gtkterm to connect to /dev/rfcomm0 and communicate
# with your device
rfcomm connect asdf 00:01:95:08:4D:EC

